package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.SpuDTO;
import com.leyou.item.entity.Spu;

public interface SpuService extends IService<Spu> {

    //分页查询
    PageDTO<SpuDTO> pageQuery(Integer page, Integer rows, Integer saleable);

    SpuDTO queryGoodsBySpuID(Long id);

   /* // 商品下架
    void editSaleable(Long id, Boolean saleable);

    // 新增商品
    void addGoods(SpuDTO spuDTO);
*/

}
